package com.gljx.web.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.gljx.web.Entity.SubjectOneResultentry;
import org.springframework.stereotype.Component;

@Component
public interface SubjectOneResultentryMapper {
    int deleteByPrimaryKey(String fid);

    int insert(SubjectOneResultentry record);

    int insertSelective(SubjectOneResultentry record);

    SubjectOneResultentry selectByPrimaryKey(String fid);

    int updateByPrimaryKeySelective(SubjectOneResultentry record);

    int updateByPrimaryKey(SubjectOneResultentry record);

    List<SubjectOneResultentry> selSubjectOneResultentryByParentId(@Param("fid")String fid, @Param("studentName")String studentNamez);

    int deleteByParentId(String parentid);

    /**
     * 添加的新功能
     * @param fid
     * @param studentName
     * @param cfexmaresult
     * @return
     */
    List<SubjectOneResultentry> selSubjectOneResultentryByParentIdWithcfexmaresult(@Param("fid")String fid, @Param("studentName")String studentName,  @Param("cfexmaresult")String cfexmaresult);
}